import { IsNotEmpty } from 'class-validator';

export class TagDto {
  @IsNotEmpty({ message: '内容不能为空' })
  readonly name: string;
  readonly intro: string;
  readonly id: string;
}

export class TagDelete {
  @IsNotEmpty({ message: 'id不能为空' })
  readonly id: string;
}
